Skip to content

Conversation

@DroidZed
Copy link

@DroidZed DroidZed commented Oct 15, 2024

When I installed the package the typescript linter was spawning errors about the Menu component not accepting children.

When looked into the code, I noticed that the children prop was not found nor the Props interface was extending from the ViewProp interface to implicitly pass in the styles, testID, and children props.

A small fix was to have the children prop added to not clutter the auto completion for the component in the editor.

Also, the docs were mentioning the children prop being present while it's not. Please fix this asap.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant